import {createStore} from 'redux'
import reducer from '../reducer'
import { persistReducer } from 'redux-persist'
import storage from 'redux-persist/lib/storage'
const persistConfig = {
    key: 'root',
    storage,
    // whitelist:['']
    // blacklist:['activeKey']
}
const persistedReducer = persistReducer(persistConfig, reducer)

export const store:any= createStore(persistedReducer);


